<style>
    #incentiveRewardMatters-edit {
        padding: 20px 20px 25px 0;
    }

    #incentiveRewardMatters-edit .layui-elem-field legend {
        font-size: 18px;
        color: black;
    }

    #incentiveRewardMatters-edit .layui-elem-field {
        margin-left: 20px;
    }

    #incentiveRewardMatters-edit.button-css {
        margin-left: 10px;
        margin-top: 2px;
    }
    #incentiveRewardMatters-edit .layui-form-label{
        width:135px;
    }
    #incentiveRewardMatters-edit .layui-input,.layui-textarea{
        width:90%;
    }

</style>
<div class="layui-fluid" id="incentiveRewardMatters-edit">
    <form class="layui-form" action="" lay-filter="incentiveRewardMatters-edit-form">

        <div class="layui-form-item febs-hide">
            <div class="layui-row">
                <div class="layui-col-xs6">
                    <label class="layui-form-label febs-form-item-require">事项ID：</label>
                    <div class="layui-input-block">
                        <input type="text" name="rewardMattersId" class="layui-input">
                    </div>
                </div>

            </div>
        </div>
        <div class="layui-form-item  febs-hide">
            <div class="layui-row">
                <div class="layui-col-xs6">
                    <label class="layui-form-label febs-form-item-require">公司ID：</label>
                    <div class="layui-input-block">
                        <input type="text" name="tenantId" autocomplete="off" class="layui-input"
                               maxlength="32">
                    </div>
                </div>
            </div>
        </div>

        <div class="layui-form-item">
            <div class="layui-row">
                <div class="layui-col-xs12">
                    <label class="layui-form-label febs-form-item-require">奖励事项名称：</label>
                    <div class="layui-input-block">
                        <input type="text" name="mattersName" autocomplete="off" class="layui-input"
                               lay-verify="required" maxlength="75" placeholder="请输入奖励事项名称" >
                    </div>
                </div>

            </div>
        </div>

        <div class="layui-form-item">
                <div class="layui-col-xs12">
                    <label class="layui-form-label febs-form-item-require">奖励金额(元)：</label>
                    <div class="layui-input-block">
                        <input type="text" name="rewardAmount" autocomplete="off" class="layui-input"
                               lay-verify="range||amount"  maxlength="12" placeholder="请输入奖励金额"
                               onkeyup="value=value.replace(/[^\d{1,}\.\d{1,}|\d{1,}]/g,'').replace('.','$#$').replace(/\./g,'').replace('$#$','.').replace(/\.{2,}/g,'.').replace(/^(\-)*(\d+)\.(\d\d).*$/,'$1$2.$3')"
                        >
                    </div>
                </div>
        </div>


        <div class="layui-form-item">
            <div class="layui-row">
                <div class="layui-col-xs12">
                    <label class="layui-form-label febs-form-item-require">奖励积分：</label>
                    <div class="layui-input-block">
                        <input type="text" name="rewardScore" autocomplete="off" class="layui-input"
                               lay-verify="required||number" maxlength="9" placeholder="请输入奖励积分"
                               onkeyup="value=value.replace(/[^\d{1,}\d{1,}|\d{1,}]/g,'').replace(/\./g,'').replace(/^(\-)*(\d+)\.(\d\d).*$/,'$1$2.$3')"
                        >
                    </div>
                </div>

            </div>
        </div>

        <div class="layui-form-item">
            <div class="layui-row">
                <div class="layui-col-xs12">
                    <label class="layui-form-label febs-form-item-require">排序：</label>
                    <div class="layui-input-block">
                        <input type="number" name="sort" lay-affix="number" lay-precision="0" class="layui-input"
                               value="1"
                               lay-verify="required" min="1">
                    </div>
                </div>

            </div>
        </div>


        <div class="layui-form-item">
            <div class="layui-row">
                <div class="layui-col-xs6">
                    <label class="layui-form-label febs-form-item-require" >状态: </label>
                    <div class="layui-input-block">
                        <input type="checkbox" name="status" lay-skin="switch" lay-text="启用|禁用">
                    </div>
                </div>
            </div>
        </div>


        <div class="layui-form-item febs-hide">
            <button class="layui-btn" lay-submit="" lay-filter="incentiveRewardMatters-edit-form-submit" id="submit"></button>
            <button type="reset" class="layui-btn" id="reset"></button>
        </div>
    </form>
</div>
<script data-th-inline="javascript">
    var incentiveRewardMatters = [[${incentiveRewardMatters}]];
</script>
<script th:src="@{/febs/js/incentive/incentiveRewardMatters/incentiveRewardMattersEdit.js(v=1)}"></script>